const path = require('path')
const devOptions = require('./dev')

module.exports = {
  ...devOptions,
  cssSourceMap: false,
  // 首页文件路径
  index: path.resolve(__dirname, '../demo/index.html'),
  
  // 资源发布目录
  assetsRoot: path.resolve(__dirname, '../demo'),
  
  bundleAnalyzerReport: process.env.npm_config_report,
  previewServerPort: 9527,
  setupPreviewServer: process.env.npm_config_preview
  
}
